<template>
	<view>
		<aki-particles :particlestyle="particlestyle" class="bg-aki"></aki-particles>
	</view>
</template>

<script>
import akiparticles from '@/uni_modules/aki-particles/components/aki-particles/aki-particles.vue'; //导入组件
	export default {
		name:"ParticleBackground",
		components: { 'aki-particles': akiparticles },
		data() {
			return {
				particlestyle: {
					style: 'default',
					zindex: -1,
					bgcolor: '#111017'
				}
			}
		}
	}
</script>

<style lang="scss">
.bg-aki {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
  z-index: -1 !important;
}
</style>